package com.czk.instant;

import java.time.Instant;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/12/29 22:34
 */
public class InstantDemo {
    public static void main(String[] args) {
        Instant now = Instant.now();
        // 默认取UTC时区
        System.out.println(now);

    }
}
